package com.squirrel.common.vo.userVideo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.squirrel.common.vo.video.VideoVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Description HistoryVO 观看历史
 * @Author 关远键
 * @Version v1.0.0
 * @Date 2021/11/26 15:58
 */
@Data
@ApiModel("观看历史")
public class HistoryVO {

    @ApiModelProperty("视频信息")
    private VideoVO videoVO;

    @ApiModelProperty("最近观看时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime watched;

}
